// 登录表单
export interface loginForm {
    username: string;
    password: string;
}


interface ResponseData {
    code: number;
    message: string;
    ok: string
}

export interface loginResponseData extends ResponseData {
    data: string
}

export interface userInfo extends ResponseData {
    data: {
        routers:string[],
        buttons:string[],
        roles:string[],
        name:string,
        avatar:string
    }
}
